﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XLB.ExtensionMethod.Aggregate
{
    public static class ListStaticMethod
    {
        //public static bool EqualList<T>(this IList<T> sourceCollection,IList<T> targetCollection) where T : IEquatable<T>
        //{
        //    //空集合直接返回false,即使两个都是空集合，也返回false
        //    if (sourceCollection==null||targetCollection==null)
        //    {
        //        return false;
        //    }
        //    if (object.ReferenceEquals(sourceCollection,targetCollection))
        //    {
        //        return true;
        //    }
        //    if (sourceCollection.Count!=targetCollection.Count)
        //    {
        //        return false;
        //    }
        //    var sourceCollectionStaticDict = sourceCollection.StatisticRepetition();
        //    var targetCollectionStaticDict = targetCollection.StatisticRepetition();

        //    return sourceCollectionStaticDict.
        //}

    }
}
